#include <stdio.h>

int main() {
	int x = 2;
	int s;
	int n;
	while (x < 100) {
		s = 1;
		for (n = 2; n < x; n++) {
			s = 1;
			if (x % n == 0) {
				s = 0;
				break;
			}
		}
		if (s == 1) {
			printf("%d\n", x);
		}
		x++;
	}

	return 0;
}